package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.ReservationDto;
import com.zzyl.vo.ReservationVo;
import com.zzyl.vo.TimeCountVo;

import java.util.List;

public interface CustomerReservationService {
    Integer getCancelledReservationCount(Long userId);

    List<TimeCountVo> queryCountByTime(Long time);

    void addReservation(ReservationDto dto);

    PageResponse<ReservationVo> queryPage(Integer status, Integer pageNum, Integer pageSize);

    void modifyStatus(Long id);
}
